from django.conf.urls import re_path
from . import views

urlpatterns = [
    re_path(r'^api/v1.0/areas/$', views.AreasListView.as_view()),
    re_path(r'^api/v1.0/houses/new/$', views.NewHousesInfoView.as_view()),
    re_path(r'^api/v1.0/houses/index/$', views.IndexView.as_view()),
    re_path(r'^api/v1.0/user/houses/$', views.MyhomeView.as_view()),
    re_path(r'^api/v1.0/houses/(?P<house_id>\d+)/$', views.HouseInfoView.as_view()),
    re_path(r'^api/v1.0/houses/$', views.SearchListView.as_view()),
]